<?php
/**
 * News Feeds
 * Every events,tasks that are relative to the contact
 *
 * @package contact
 */
use Fox\Behaviors;
use Fox\Generator;
use Hive\Mission;
use Fox\Html\Stream\News;
use Fox\Html\Stream;

/* @var $contact Hive\Mission */
$xview = Xview::instance();
$mission = $xview->component("mission", "object");
// Customizing
$customizing = Hive\Mission\Customizing::instance();
$customizing->trackSummaryPage(array('mod' => 'missions','act'=>'newsfeed'));

//$mid = $mission->getId();
//$data = $mission->getData();
//$news = $mission->news();
$actions = null;
$stream = new Stream('stream');

$html = '<div class="contentArea">
	<div>
		<div class="rfloat">
			<span>'.$actions.'</span>
		</div>
		<div class="contactDetailBanner">
			
		</div>
	</div>
	<div class="streamWrapper">
		'.$stream->render().'
	</div>
</div>';
if($xview->val('return')) {
	return $html;
}
else {
	echo $html;
}